package com.zkthink.ceres.promotion.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 实体类 分销员
 * </p>
 *
 * @author kellen
 * @since 2020-08-22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "SalesOrderPageDTO", description = "分销员")
public class SalesOrderPageDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 订单号
   */
  @ApiModelProperty(value = "订单号")
  private String orderNo;
  /**
   * 客户id
   */
  @ApiModelProperty(value = "客户id")
  private Long mid;
  /**
   * 订单实付金额
   */
  @ApiModelProperty(value = "订单实付金额")
  private Long orderAmount;
  /**
   * 分销员id
   */
  @ApiModelProperty(value = "分销员id")
  private Long sid;
  /**
   * 佣金类型 1直接佣金 2间接佣金
   */
  @ApiModelProperty(value = "佣金类型 1直接佣金 2间接佣金")
  private Integer type;
  /**
   * 结算状态 1未结算 2已结算
   */
  @ApiModelProperty(value = "结算状态 1未结算 2已结算")
  private Integer settleStatus;


  @ApiModelProperty(value = "分销员昵称")
  private String salesName;

  @ApiModelProperty(value = "分销员手机号")
  private String mobile;


  @ApiModelProperty(value = "交易开始时间")

  private LocalDateTime startTime;

  @ApiModelProperty(value = "交易结束时间")
  private LocalDateTime endTime;

  @JsonIgnore
  @ApiModelProperty(hidden = true)
  private String tenantCode;


}
